package com.changan.user.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.changan.response.Result;
import com.changan.user.entity.User;
import com.changan.user.mapper.UserMapper;
import com.changan.user.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户基本信息 服务实现类
 * </p>
 *
 * @author ange
 * @since 2020-09-05
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public Result login(String mobile,String mobile_psw) {
        /*LambdaQueryWrapper<User> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(User::getMobile,mobile);
        wrapper.eq(User::getMobilePsw,mobile_psw);
        this.baseMapper.selectOne(wrapper);*/
        return Result.ok();
    }
}
